IModel.As method ¶
Namespace: NextDesign.Core
Description¶
Checks if this instance is compatible with the specified class type. Returns true if this instance is an instance of the specified class or its subclasses.
argument¶
Name | Type | Description |
---|---|---|
className | string | Class Name Specify the class name or fully qualified name. If null or an empty string is specified, the evaluation of this method will be False. This method evaluates to False if a class with the specified name cannot be found. |
fuzzy | bool | className argument as the name of the class instead of the fully qualified name. If False, evaluates as the class whose fully qualified name matches className. If True, evaluate as if the class whose class name matches className is specified. If more than one is applicable and any one of them is an instance, evaluate this method as True. The default value is True. |
Return value¶
- bool